package com.ruoyi.ldzlsc.domain.dto;

import java.math.BigDecimal;
import java.util.List;

/**
 * 人工退料数据传输对象
 */
public class MaterialReturnDto {

    /** 工单ID */
    private Long workOrderId;

    /** 工序任务ID */
    private Long workOrderTaskId;

    /** 备注 */
    private String remark;

    /** 退料物料列表 */
    private List<MaterialReturnItem> items;

    public static class MaterialReturnItem {
        /** 物料ID */
        private Long materialId;

        /** 退料数量 */
        private BigDecimal quantity;

        public Long getMaterialId() {
            return materialId;
        }

        public void setMaterialId(Long materialId) {
            this.materialId = materialId;
        }

        public BigDecimal getQuantity() {
            return quantity;
        }

        public void setQuantity(BigDecimal quantity) {
            this.quantity = quantity;
        }
    }

    public Long getWorkOrderId() {
        return workOrderId;
    }

    public void setWorkOrderId(Long workOrderId) {
        this.workOrderId = workOrderId;
    }

    public Long getWorkOrderTaskId() {
        return workOrderTaskId;
    }

    public void setWorkOrderTaskId(Long workOrderTaskId) {
        this.workOrderTaskId = workOrderTaskId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public List<MaterialReturnItem> getItems() {
        return items;
    }

    public void setItems(List<MaterialReturnItem> items) {
        this.items = items;
    }
} 